package com.woniu.zsd;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableTransactionManagement
@MapperScan(basePackages = "com.woniu.zsd.user.mapper")
@EnableFeignClients(basePackages = "com.woniu.zsd.user")
@ComponentScan(basePackages = {
        "com.woniu.zsd"// 添加公共模块包扫描
})
public class UserApplication {
    public static void main( String[] args ){
        SpringApplication.run(UserApplication.class, args);
    }
}
